// path

let path = require("path");

// 获取文件的 后缀名
let extname = path.extname("zzzz.mp4");
console.log(extname); //.mp4

// 链接两个路径
let r = path.join("./js", "./test.js");
console.log(r); //js\test.js
